package com.sg.dto.biz.app.common;

import com.sg.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc PlanInforMenuDto
 * @使用场景
 */
@Data
public class PlanInforMenuDto extends BaseDto implements Serializable {

    /**
     * 被评对象目标周期ID
     */
    @ApiModelProperty("被评对象目标周期ID")
    private String evaObjTargetCycleId;

    /**
     * 周期名称
     */
    @ApiModelProperty("周期名称")
    private String cycleStandardName;
    /**
     * 周期类型实例简称
     */
    @ApiModelProperty("周期类型实例简称")
    private String cycleNumberShortName;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @ApiModelProperty("是否父周期")
    private String isParentCycle;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        PlanInforMenuDto that = (PlanInforMenuDto) o;
        return evaObjTargetCycleId == that.evaObjTargetCycleId && cycleStandardName == that.cycleStandardName && cycleNumberShortName == that.cycleNumberShortName && isParentCycle == that.isParentCycle;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), evaObjTargetCycleId, cycleStandardName, cycleNumberShortName, isParentCycle);
    }


}
   